package com.liu.activiti.activiti.qingjia;

import com.liu.activiti.listener.BaseActivitiListener;
import org.activiti.engine.delegate.DelegateExecution;
import org.springframework.stereotype.Service;

@Service("fgldListener")
public class FgldListener extends BaseActivitiListener {

    /**
     * 开始任务
     * @param execution
     */
    @Override
    public void doNormalStart(DelegateExecution execution) {
        execution.setVariable("fgldUserId", "fgld");
    };

    /**
     * 结束任务
     * @param execution
     */
    @Override
    protected void doNormalEnd(DelegateExecution execution) {
        super.doNormalEnd(execution);
    }
}